package com.bosssoft.hr.train.spring.example.service;


import com.bosssoft.hr.train.spring.example.bean.User;

import java.util.List;

/**
 * @description 用户业务接口 包含缓存功能
 * @author ChenTong
 * @date 2020/6/4
 */
public interface UserCacheService {
    User queryUserByName(String username);

    List<User> queryAll();

    User queryUserByNamePutCache(String name);

    void cleanAllCache();
}
